//
//  GeDanHeaderView.m
//  LZMusicPlayer
//
//  Created by wulanzhou on 2016/11/7.
//  Copyright © 2016年 wulanzhou. All rights reserved.
//

#import "GeDanHeaderView.h"

@implementation GeDanHeaderView

- (instancetype)initWithFrame:(CGRect)frame {
    
    if (self = [super initWithFrame:frame]) {
        
        //[self addSubview:self.focusImageView];
        self.backgroundColor = [UIColor blueColor];
        [self addSubview:self.titleLabel];
    }
    return self;
}

- (UILabel *)titleLabel{
    
    if (!_titleLabel) {
        _titleLabel = [[UILabel alloc] initWithFrame:self.bounds];
        _titleLabel.font = [UIFont systemFontOfSize:14.0f];
        _titleLabel.textAlignment = NSTextAlignmentCenter;
        _titleLabel.backgroundColor = [UIColor clearColor];
        _titleLabel.textColor = [UIColor redColor];
    }
    return _titleLabel;
}

@end
